[INFO] cloning repository https://github.com/norun9/grep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/norun9/grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbaa63847e8631d389afda6cac2d3d42899a44d0
[INFO] checking norun9/grep against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorun9%2Fgrep" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/norun9/grep on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/norun9/grep
[INFO] finished tweaking git repo https://github.com/norun9/grep
[INFO] tweaked toml for git repo https://github.com/norun9/grep written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/norun9/grep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9b4542d000f6e10508e818355de27ce262fe508f6b5b3aebf18c52689d5250a
[INFO] running `Command { std: "docker" "start" "-a" "b9b4542d000f6e10508e818355de27ce262fe508f6b5b3aebf18c52689d5250a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b4542d000f6e10508e818355de27ce262fe508f6b5b3aebf18c52689d5250a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9b4542d000f6e10508e818355de27ce262fe508f6b5b3aebf18c52689d5250a", kill_on_drop: false }`
[INFO] [stdout] b9b4542d000f6e10508e818355de27ce262fe508f6b5b3aebf18c52689d5250a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7ca7aa67144659b5d9d6463de9c3b2f6eb011a54164e45fc3d2399f1b41b47a
[INFO] running `Command { std: "docker" "start" "-a" "a7ca7aa67144659b5d9d6463de9c3b2f6eb011a54164e45fc3d2399f1b41b47a", kill_on_drop: false }`
[INFO] [stderr]     Checking grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `query` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let query;
[INFO] [stdout]    |             ----- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 26 |             query = args[0].to_string();
[INFO] [stdout]    |             ----- binding initialized here in some conditions
[INFO] [stdout] ...
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                     ^^^^^ `query` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `filename` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let filename;
[INFO] [stdout]    |             -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 27 |             filename = args[1].to_string();
[INFO] [stdout]    |             -------- binding initialized here in some conditions
[INFO] [stdout] 28 |         }
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                            ^^^^^^^^ `filename` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `f`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^^^^^--^
[INFO] [stdout]    |         |    |
[INFO] [stdout]    |         |    `f` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `q`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^--^^^^^
[INFO] [stdout]    |         ||
[INFO] [stdout]    |         |`q` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/lib.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]   |                                              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]   |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grep` due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0381]: used binding `query` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let query;
[INFO] [stdout]    |             ----- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 26 |             query = args[0].to_string();
[INFO] [stdout]    |             ----- binding initialized here in some conditions
[INFO] [stdout] ...
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                     ^^^^^ `query` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `filename` is possibly-uninitialized
[INFO] [stdout]   --> src/lib.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let filename;
[INFO] [stdout]    |             -------- binding declared here but left uninitialized
[INFO] [stdout] ...
[INFO] [stdout] 27 |             filename = args[1].to_string();
[INFO] [stdout]    |             -------- binding initialized here in some conditions
[INFO] [stdout] 28 |         }
[INFO] [stdout] 29 |         Ok(Config { query, filename })
[INFO] [stdout]    |                            ^^^^^^^^ `filename` used here but it is possibly-uninitialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `f`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^^^^^--^
[INFO] [stdout]    |         |    |
[INFO] [stdout]    |         |    `f` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `q`
[INFO] [stdout]   --> src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         (&q, &f)
[INFO] [stdout]    |         ^--^^^^^
[INFO] [stdout]    |         ||
[INFO] [stdout]    |         |`q` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0381, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0381`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grep` due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a7ca7aa67144659b5d9d6463de9c3b2f6eb011a54164e45fc3d2399f1b41b47a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7ca7aa67144659b5d9d6463de9c3b2f6eb011a54164e45fc3d2399f1b41b47a", kill_on_drop: false }`
[INFO] [stdout] a7ca7aa67144659b5d9d6463de9c3b2f6eb011a54164e45fc3d2399f1b41b47a
